#ifndef DOWNLOADWIDGET_H
#define DOWNLOADWIDGET_H

#include <QFrame>

namespace Ui {
class DownloadWidget;
}

class DownloadWidget : public QFrame
{
	Q_OBJECT
	
public:
	explicit DownloadWidget(QWidget *parent = 0);
	~DownloadWidget();

public slots:
	void setUrl(QString url);
	void setMime(QString mime);
	void setSize(qint64 size);
	void setProgress(int percent);
	void setProgress(qint64 bytesRead, qint64 bytesTotal);

signals:
	
private slots:

private:
	Ui::DownloadWidget *ui;
};

#endif // DOWNLOADWIDGET_H
